package com.edais.service.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.edais.domain.UserMessage;
import com.edais.persistence.UserMessageMapper;
import com.edais.service.UserMessageService;

/**
 * UserMessageServiceImpl
 * Created by haoyx on 2016/12/14.
 */
@Service
public class UserMessageServiceImpl implements UserMessageService {

    @Autowired
    private UserMessageMapper userMessageMapper;

    @Override
    public void insert(UserMessage userMessage) {
        userMessage.setCreatePer("javaservice");
        this.userMessageMapper.insert(userMessage);
    }

}
